home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / ChangeTaskPri < prev    next >
Text File  |  1995-05-19  |  2KB  |  52 lines

  1.  
  2.  
  3.  
  4.      ChangeTaskPri(V1.3,2.x,3.x) Location: C:)    
  5.  
  6.  
  7.      NAME
  8.             ChangeTaskPri - Change a tasks execution priority.
  9.  
  10.      SYNOPSIS
  11.             ChangeTaskPri [P=Pri] [T=TASK=PROCESS]
  12.  
  13.      DESCRIPTION
  14.             By increasing/decreasing the priority of various 
  15.         tasks in the system, you can increase/decrease the amount 
  16.         of CPU time each task is allocated.  If no type the 
  17.         command without a number, it will return the task 
  18.         priority number of that command.
  19.  
  20.             If executed with no arguments, ChangeTaskPri will 
  21.         return the priority of the currently executing process.  
  22.         This is useful in shell scripts.
  23.  
  24.             Your Amiga's operating system was created where each 
  25.         task that is running gets assigned a priority from -128 
  26.         to 127. The processor examines this number and prioritises 
  27.         the tasks. The higher the number the more processing time 
  28.         will be alloted to it by the processor.
  29.  
  30.             WARNING: Never raise a task priority higher than 5 or 
  31.         less than -5. If you raise it above 5 you will override 
  32.         important system tasks such as the input handler (which 
  33.         checks the keyboard and the mouse). If the priority is 
  34.         below -5 it will be completely shut out of the CPU by the 
  35.         most trivial of instruction.
  36.  
  37.      EXAMPLE
  38.          
  39.             1. To change task 3's priority to -5
  40.  
  41.         ChangeTaskPri -5 Process 3 
  42.                                                    
  43.             2. To Change current CLI's priority
  44.  
  45.           ChangeTaskPri 5 
  46.  
  47.  
  48.             3.  2.x/3.x ONLY: To utilize the backtick feature to 
  49.         change the priority of the C:CONCLIP task to 5
  50.  
  51.            ChangeTaskPri 5 Process 'Status com=c:conclip'
  52.